<script>
	if(window.innerWidth>750){
	    window.innerWidth=750;  
	}  
	export default {
		onLaunch: function() {
			try{
				const value = uni.getStorageSync('username')
				console.log(this.$store.state.user.userinfo);
				// console.log(value);	
				if(value){
					console.log(value.objectId);
					this.$store.dispatch('address/Addressinitact',value.objectId)
				}
			}catch(e){
				console.log(e);
			}
			console.log('App Launch')
		},
		onShow: function() {
			console.log('App Show')
		},
		onHide: function() {
			console.log('App Hide')
		}
	}
</script>

<style lang='scss'>
		
	
	/*每个页面公共css */
@import "uview-ui/index.scss";
@import "/colorui/main.css";
@import "/colorui/icon.css";
@import "/colorui/animation.css";
@import "/static/iconfont.css";

</style>
